Skip to main content

lockAnimations

Type​

command

Summary​

Temporarily preventing the animations

Syntax​

lockAnimations

Description​

Use the lockAnimations command to prevent animations and stop all animations.

Examples​

set the backColor of me to empty
set the textSize of me to 12
# Stop all animations
lockAnimations
animate the long id of me, "backColor", any line of colorNames(), 1, "outBack"
animate the long id of me, "foreColor", any line of colorNames(), 1, "inQuart"
animate the long id of me, "textSize", 32, 1, "inBack"
unlockAnimations

Compatibility and Support​

OS

mac

windows

linux

ios

android

Platforms

desktop

mobile

web